package com.ynny.UserManage.Controller;

import com.ynny.UserManage.Service.UserService;
import com.ynny.UserManage.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * 用户控制器类，用于处理与用户相关的HTTP请求。
 * 通过@Autowired注解注入UserDao，实现对用户数据的增删改查等操作。
 */
@RestController
@RequestMapping("/user")
public class UserController {
    @Autowired
    UserDao userDao;
    @Autowired
    UserService userService;
}
